package com.qr.bean.wmyh;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:43
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_signin", description = "签到记录表")
@TableName(value = "jbr_user_signin")
public class JbrUserSigninView implements Serializable {
	@ApiModelProperty(value = "用户签到表")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "用户签到表不能为空")
	private Integer id;
	@ApiModelProperty(value = "用户Id")
	@TableField(value="user_id")
	@NotNull(message = "用户Id不能为空")
	private Integer user_id;
	@ApiModelProperty(value = "累计签到天数")
	@TableField(value="signin_day")
	@NotNull(message = "累计签到天数不能为空")
	private Integer signin_day;
	@ApiModelProperty(value = "当前签到获得积分")
	@TableField(value="get_score")
	@NotNull(message = "当前签到获得积分不能为空")
	private Integer get_score;
	@ApiModelProperty(value = "连续签到累计获得积分")
	@TableField(value="total_score")
	@NotNull(message = "连续签到累计获得积分不能为空")
	private Integer total_score;
	@ApiModelProperty(value = "签到时间")
	@TableField(value="add_time")
	@NotNull(message = "签到时间不能为空")
	private Timestamp add_time;
	@ApiModelProperty(value = "编号 记录用")
	@TableField(value="number")
	private String number;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Integer getSignin_day() {
		return signin_day;
	}
	public void setSignin_day(Integer signin_day) {
		this.signin_day = signin_day;
	}
 
	public Integer getGet_score() {
		return get_score;
	}
	public void setGet_score(Integer get_score) {
		this.get_score = get_score;
	}
 
	public Integer getTotal_score() {
		return total_score;
	}
	public void setTotal_score(Integer total_score) {
		this.total_score = total_score;
	}
 
	public Timestamp getAdd_time() {
		return add_time;
	}
	public void setAdd_time(Timestamp add_time) {
		this.add_time = add_time;
	}
 
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}

}